<template>
    <div class="common-layout">
      <el-container>
        <el-header>
            <Header></Header>
        </el-header>
        <el-container class="content">
          <el-aside width="200px">
            <SideBarAdmin></SideBarAdmin>
          </el-aside>
          <el-main class="main">
            <router-view></router-view>
          </el-main>
        </el-container>
      </el-container>
    </div>
  </template>
<script setup>

import Header from '@/components/Header.vue'
import SideBarAdmin from '@/components/admin/SideBarAdmin.vue'
</script>

<style scoped>
.el-header{
  padding:0;
  margin-bottom: 10px;
  height: 80px;
}
.el-aside{
  width: 150px;
}
  
</style>